package temp

import (
	"background/internal/model/back/entity"
)

// 个性标签
type Category struct {
	Basic
	Description string `json:"description,omitempty" gorm:"column:description;not null; type:varchar(255);comment:'description'"    `
	Children    string `json:"children,omitempty"      gorm:"column:children;not null; type:varchar(255);     comment:'children'"    `
}

func (c Category) TableName() string {
	return entity.ProjectPre + "category"
}
